package com.yuanfeng.base.feign;


import com.yuanfeng.commoms.vo.shop.GdsShopDetailResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @author Stranger
 * @date 2023/3/27 11:48
 */
@FeignClient(name = "mall-business", url = "http://localhost:8087")
public interface BusinessClient {

    /**
     * 查找店铺信息
     * @param shopId
     * @return
     */
    @PostMapping("shopBase/info/queryShopInfo")
    GdsShopDetailResultVO queryShopinfoByShopId(@RequestParam("shopId") Integer shopId);


}
